home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-07-09 | 1.0 KB | 54 lines | [TEXT/KAHL] |
- ///--------------------------------------------------------------------------------------
- // Application.h
- //
- // Created: Sunday, April 11, 1993
- // By: Tony Myles
- //
- // Copyright: © 1993 Tony Myles, All rights reserved worldwide.
- ///--------------------------------------------------------------------------------------
-
-
- #ifndef __APPLICATION__
- #define __APPLICATION__
-
-
- enum
- {
- kNumberOfMoreMastersCalls = 3
- };
-
- enum
- {
- kWindowResID = 1
- };
-
- enum
- {
- kErrorAlertResID = 132,
- kCantRunAlertResID = 133,
- kErrorStringListResID = 128,
- kFatalErrorStringIndex = 1,
- kCantFindResourceStringIndex = 2
- };
-
- #define kSeriousDamageString "\pCould not even get error string!\rThis application is seriously damaged!"
-
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- void InitializeMasters(short numberOfMasters);
- Boolean CheckSystem(void);
- void CreateWindow(void);
- void ErrorAlert(OSErr err, short errorStringIndex);
- void FatalError(OSErr err);
- void CantFindResource(void);
- void CantRunOnThisMachine(void);
-
- #ifdef __cplusplus
- };
- #endif
-
-
- #endif /* __APPLICATION__ */